/**
 * 
 */

import BaseUI from "../../framwork/BaseUI";
import Game from "../Game";
import Pfab_wudaoyuan from "./Pfab_wudaoyuan";

const { ccclass, menu, property } = cc._decorator;

@ccclass
export default class Pfab_dongfu extends BaseUI {

	public static prefabUrl = "Prefab/dongfu/Pfab_dongfu";
	public static className = "Pfab_dongfu";

    baseUI_onLoad(): void {
        
    }

    init_data(d: any): void {
        
    }
    
    baseUI_onDestroy(): void {
        
    }

    onBtn_click(target: cc.Button, onBtn_name: string): number | void {
        switch (onBtn_name) {
            case "btn_wudaoyuan":
                this.createUI(Pfab_wudaoyuan.prefabUrl,Game.getInstance().GetGameObject("leftView"))
                
                break;
            default:
                break;
        }
    }

    
    start () {

    }
	
    // update (dt) {}
}